Update Liquid to 3.0.6 and revert the monkey patch

cf. Shopify/liquid#632, Shopify/liquid#633

This reverts commit 5271f173eafdc301f4d9d92e4b6c165f636401cf.

Akinori MUSHA 9 years ago
parent
commit
1fc1656922
2 changed files with 1 additions and 7 deletions
  1. 1 1
      Gemfile.lock
  2. 0 6
      app/concerns/liquid_interpolatable.rb

+ 1 - 1
Gemfile.lock

@@ -235,7 +235,7 @@ GEM
235 235
     launchy (2.4.2)
236 236
       addressable (~> 2.3)
237 237
     libv8 (3.16.14.7)
238
-    liquid (3.0.3)
238
+    liquid (3.0.6)
239 239
     listen (2.7.9)
240 240
       celluloid (>= 0.15.2)
241 241
       rb-fsevent (>= 0.9.3)

+ 0 - 6
app/concerns/liquid_interpolatable.rb

@@ -218,12 +218,6 @@ module LiquidInterpolatable
218 218
       input.to_s.sub(Regexp.new(regex), unescape_replacement(replacement.to_s))
219 219
     end
220 220
 
221
-    def date(input, format)
222
-      super
223
-    rescue ArgumentError
224
-      input
225
-    end
226
-
227 221
     private
228 222
 
229 223
     def logger